package org.csu.onlineedubackend.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

@Data
@TableName("lesson")
public class Lesson {
    @TableId(type = IdType.AUTO)
    private Integer id;
    private Integer chapterId;
    private String title;
    private String videoUrl;
    private Integer duration;
    private Boolean isPreview;
    private Integer sortOrder;
}
